home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / c / boss / boss_sup.lzh / WINBOSS.FNT < prev    next >
Text File  |  1992-03-05  |  15KB  |  345 lines

  1. /* Prototype declarations for windows.c */
  2.  
  3. void wn_windows(void);
  4. /* Prototype declarations for wn_print.c */
  5.  
  6. int wn_printf(struct wcb *wn, char *cs,...);
  7. /* Prototype declarations for wn_activ.c */
  8.  
  9. int wn_activate(struct wcb *wn);
  10. int wns_push(int imgix);
  11. int wns_pop(int imgix);
  12. int wns_alloc(unsigned size, unsigned *seg, unsigned *off, unsigned *ptr);
  13. int wns_free(unsigned seg, unsigned off);
  14. int wns_image(struct wcb *wn, int imgix, int flag);
  15. void wns_blt(int row, int col, int width, int height, unsigned tseg, 
  16.              unsigned toff, int imgix, int flag);
  17. /* Prototype declarations for wn_bios.c */
  18.  
  19. unsigned _getca(int page, int row, int col);
  20. void _putca(int page, unsigned atch, int row, int col);
  21. void _absloc(int page, int row, int col);
  22. void v_wca(int page, int ch, int at, int count);
  23. void v_wtty(int ch);
  24. void v_cls(int at);
  25. void v_spage(int page);
  26. void v_smode(int mode);
  27. void v_locate(int page, int row, int col);
  28. void v_hidec(void);
  29. void v_sapu(int nl, int rul, int cul, int rlr, int clr, int at);
  30. void v_sapd(int nl, int rul, int cul, int rlr, int clr, int at);
  31. void v_rcpos(int page, int *row, int *col);
  32. void v_rcvs(int *page, int *mode, int *cols);
  33. int v_getch(void);
  34. void v_kflush(void);
  35. void v_sctype(int type, int sline, int eline);
  36. void v_gctype(int page, int *sline, int *eline);
  37. int v_setatr(int bg, int fg, int blink, int bold);
  38. int v_setrev(int atrib);
  39. /* Prototype declarations for wn_boxse.c */
  40.  
  41. void wn_boxset(int ul, int ur, int tb, int sd, int ll, int lr);
  42. /* Prototype declarations for wn_close.c */
  43.  
  44. int wn_close(struct wcb *wn);
  45. /* Prototype declarations for wn_clr.c */
  46.  
  47. int wn_clr(struct wcb *wn);
  48. /* Prototype declarations for wn_clrfn.c */
  49.  
  50. int wn_clrrow(struct wcb *wn, int row);
  51. int wn_clreol(struct wcb *wn, int r, int c);
  52. int wn_clreow(struct wcb *wn, int r, int c);
  53. /* Prototype declarations for wn_color.c */
  54.  
  55. void wn_color(struct wcb *wn, int atrib, int batrib);
  56. /* Prototype declarations for wn_dbord.c */
  57.  
  58. int wn_dborder(struct wcb *wn, int ul, int ur, int tb, int sd, int ll, int lr);
  59. void wn_border(int style);
  60. int wn_drawborder(struct wcb *w, int style);
  61. /* Prototype declarations for wn_delro.c */
  62.  
  63. int wn_delrow(struct wcb *wn, int row);
  64. /* Prototype declarations for wn_dma.c */
  65.  
  66. void wn_dma(int flag);
  67. /* Prototype declarations for wn_dmode.c */
  68.  
  69. void wn_dmode(int flag);
  70. /* Prototype declarations for wn_dtext.c */
  71.  
  72. int wn_dtext(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  73.              int col, char *prmpt);
  74. /* Prototype declarations for wn_fixcs.c */
  75.  
  76. int wn_fixcsr(struct wcb *wn);
  77. /* Prototype declarations for wn_frmcl.c */
  78.  
  79. int wn_frmcls(struct wi_scb **frm);
  80. /* Prototype declarations for wn_frmge.c */
  81.  
  82. int wn_frmget(struct wi_scb **frm);
  83. /* Prototype declarations for wn_frmop.c */
  84.  
  85. struct wi_scb **wn_frmopn(int nfields);
  86. /* Prototype declarations for wn_gbool.c */
  87.  
  88. int wn_gbool(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  89.              int col, char *prmpt, unsigned atrib, int fill, int *value, 
  90.              char *ubuff, char *hlpmsg, char *errmsg);
  91. /* Prototype declarations for wn_gdate.c */
  92.  
  93. int wn_gdate(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  94.              int col, char *prmpt, unsigned atrib, int fill, int *month, 
  95.              int *day, int *year, char *ubuff, char *hlpmsg, char *errmsg);
  96. /* Prototype declarations for wn_gdoub.c */
  97.  
  98. int wn_gdouble(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  99.                int col, char *prmpt, unsigned atrib, int fill, double *value, 
  100.                int fwidth, int ndec, double low, double high, char *ubuff, 
  101.                char *hlpmsg, char *errmsg);
  102. /* Prototype declarations for wn_gets.c */
  103.  
  104. char *wn_gets(struct wcb *wn, char *s, int va, char *cl);
  105. /* Prototype declarations for wn_gfloa.c */
  106.  
  107. int wn_gfloat(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  108.               int col, char *prmpt, unsigned atrib, int fill, float *value, 
  109.               int fwidth, int ndec, double , double , char *ubuff, 
  110.               char *hlpmsg, char *errmsg);
  111. /* Prototype declarations for wn_gint.c */
  112.  
  113. int wn_gint(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  114.             int col, char *prmpt, unsigned atrib, int fill, int *value, 
  115.             int fwidth, int low, int high, char *ubuff, char *hlpmsg, 
  116.             char *errmsg);
  117. /* Prototype declarations for wn_glong.c */
  118.  
  119. int wn_glong(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  120.              int col, char *prmpt, unsigned atrib, int fill, long *value, 
  121.              int fwidth, long low, long high, char *ubuff, char *hlpmsg, 
  122.              char *errmsg);
  123. /* Prototype declarations for wn_gphon.c */
  124.  
  125. int wn_gphone(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  126.               int col, char *prmpt, unsigned atrib, int fill, int *acode, 
  127.               int *nnx, int *num, char *ubuff, char *hlpmsg, char *errmsg);
  128. /* Prototype declarations for wn_gpwor.c */
  129.  
  130. int wn_gpword(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  131.               int col, char *prmpt, unsigned atrib, int fill, int fwidth, 
  132.               char *ubuff, char *hlpmsg, char *errmsg);
  133. /* Prototype declarations for wn_gtext.c */
  134.  
  135. int wns_gtext(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  136.               int col, char *prmpt, unsigned atrib, int fill, int fwidth, 
  137.               char *ubuff, char *hlpmsg, char *errmsg);
  138. int wn_gtext(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  139.              int col, char *prmpt, unsigned atrib, int fill, int fwidth, 
  140.              char *ubuff, char *hlpmsg, char *errmsg);
  141. int wn_gutext(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  142.               int col, char *prmpt, unsigned atrib, int fill, int fwidth, 
  143.               char *ubuff, char *hlpmsg, char *errmsg);
  144. int wn_gltext(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  145.               int col, char *prmpt, unsigned atrib, int fill, int fwidth, 
  146.               char *ubuff, char *hlpmsg, char *errmsg);
  147. int wn_gatext(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  148.               int col, char *prmpt, unsigned atrib, int fill, int fwidth, 
  149.               char *ubuff, char *hlpmsg, char *errmsg);
  150. int wn_gmltext(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  151.                int col, char *prmpt, unsigned atrib, int fill, int fwidth, 
  152.                int nl, char **ubuff, char *hlpmsg, char *errmsg);
  153. /* Prototype declarations for wn_gtime.c */
  154.  
  155. int wn_gtime(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  156.              int col, char *prmpt, unsigned atrib, int fill, int *hours, 
  157.              int *mins, int *secs, char *ubuff, char *hlpmsg, char *errmsg);
  158. /* Prototype declarations for wn_guint.c */
  159.  
  160. int wn_guint(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  161.              int col, char *prmpt, unsigned atrib, int fill, unsigned *value, 
  162.              int fwidth, unsigned low, unsigned high, char *ubuff, 
  163.              char *hlpmsg, char *errmsg);
  164. /* Prototype declarations for wn_gulon.c */
  165.  
  166. int wn_gulong(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  167.               int col, char *prmpt, unsigned atrib, int fill, 
  168.               unsigned long *value, int fwidth, unsigned long low, 
  169.               unsigned long high, char *ubuff, char *hlpmsg, char *errmsg);
  170. /* Prototype declarations for wn_help.c */
  171.  
  172. void showpage(long offset);
  173. int filbuf(long offset);
  174. int wn_hlinit(int row, int col, int width, int height, unsigned atrib, 
  175.               unsigned batrib, char *help_file_name);
  176. int wn_help(char *subject);
  177. /* Prototype declarations for wn_iemsg.c */
  178.  
  179. int wn_iemsg(char *msg);
  180. /* Prototype declarations for wn_ihmsg.c */
  181.  
  182. int wn_ihmsg(char *msg);
  183. /* Prototype declarations for wn_init.c */
  184.  
  185. int wn_psinit(int rows, int cols);
  186. int wn_init(void);
  187. int wn_exit(void);
  188. void wn_shkey(unsigned scan_code);
  189. /* Prototype declaratio